<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="static/assets/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="static/assets/bootstrap/css/font-awesome.min.css">
    <link rel="stylesheet" href="static/commons/css/form.css">
</head>

<body>
    <div class="container">
        <h1 style="text-align:center;margin-bottom:45px;">demo</h1>
        <form class="form-horizontal" method="post" action="/data/form" id="data-form">
            <div class="form-group">
                <label class="col-md-2 control-label"><span class="text-danger">*</span>名称</label>
                <div class="col-md-6">
                    <input type="text" class="form-control" data-info="title" data-val="title" name="datasetTitle">
                </div>
                <p class="col-md-4 help-block"></p>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label"><span class="text-danger">*</span>类型</label>
                <div class="col-md-6">
                    <input type="text" class="form-control" data-info="type" data-val="type" name="datasetType">
                </div>
                <p class="col-md-4 help-block"></p>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">概要说明</label>
                <div class="col-md-6">
                    <textarea class="form-control form-textarea" data-info="note" data-val="note" name="datasetNote" id="editor" rows="10"></textarea>
                </div>
                <p class="col-md-4 help-block"></p>
            </div>
            <hr>
            <div class="form-group">
                <div class="col-md-offset-2 col-md-6">
                    <button type="submit" class="btn btn-success btn-block">添加</button>
                </div>
            </div>
        </form>
    </div>
    <script src="static/assets/jquery.min.js" type="text/javascript"></script>
    <script src="static/commons/js/form.js" type="text/javascript"></script>
</body>

</html>
